﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
using CommonBasic = DevelopStudio.Common.Basic;

namespace DevelopStudio.Basic
{
    [Serializable]
    [XmlRoot("Root")]
    public class CommentInfo
    {
        public CommentInfo()
        {
            Init();
        }

        private void Init()
        {
            Author = string.Empty;
            Time = DateTime.MinValue;
            Comment = string.Empty;
        }

        [XmlElement("Author")]
        public string Author { get; set; }

        [XmlElement("Time")]
        public DateTime Time { get; set; }

        [XmlElement("Comment")]
        public string Comment { get; set; }
    }
}
